package com.aspose.cells;

class zads {
   static zads a = new zads();
   private double b;
   private double c;
   private double d;

   zads() {
      this.b = 0.0D;
      this.c = 0.0D;
      this.d = 0.0D;
   }

   zads(double var1, double var3, double var5) {
      this.b = var1 > 360.0D ? 360.0D : (var1 < 0.0D ? 0.0D : var1);
      this.c = var3 > 1.0D ? 1.0D : (var3 < 0.0D ? 0.0D : var3);
      this.d = var5 > 1.0D ? 1.0D : (var5 < 0.0D ? 0.0D : var5);
   }

   double a() {
      return this.b;
   }

   void a(double var1) {
      this.b = var1 > 360.0D ? 360.0D : (var1 < 0.0D ? 0.0D : var1);
   }

   double b() {
      return this.c;
   }

   void b(double var1) {
      this.c = var1 > 1.0D ? 1.0D : (var1 < 0.0D ? 0.0D : var1);
   }

   double c() {
      return this.d;
   }

   void c(double var1) {
      this.d = var1 > 1.0D ? 1.0D : (var1 < 0.0D ? 0.0D : var1);
   }

   public int hashCode() {
      return (new Double(this.a())).hashCode() ^ (new Double(this.b())).hashCode() ^ (new Double(this.c())).hashCode();
   }
}
